package com.wn.base.algorithm;

import cn.hutool.core.util.IdUtil;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Map;

/**
 * @FileName: Person
 * @Description: TODO
 * @Author: MaWenHao
 * @Created: 2020/11/20 - 16:02
 * @Version: V1.0
 * @Company: 东方微银科技（北京）有限公司
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class Person implements Serializable {
    /**
     * 对象的唯一id
     */
    private String id = IdUtil.fastSimpleUUID();
    /**
     * 决策属性
     */
    private Integer decision;
    /**
     * 条件属性
     */
    private Map<String, String> conditionFields;
}
